package 设计模式.适配器模式.类适配器模式;

public class Voltage220VTo5VAdapter extends Voltage220V implements Voltage5vInterface{

    @Override
    public double output() {
        double v = output220V()/44;
        System.out.println("输出"+v+"电压...");
        return v;
    }
}
